home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////
- // Pocket PC Game Programming
- // Chapter 10: Sound Effects and Music
- //
- // CWaveDevice Header File
- //
- // This file includes the CWaveDevice definition.
- //
- ////////////////////////////////////////////////////////////
-
- #pragma once
-
- class CWaveDevice
- {
- private:
- WAVEOUTCAPS *caps;
- MMRESULT res;
-
- public:
- CWaveDevice();
- ~CWaveDevice();
- BOOL DeviceFound();
- BOOL SupportsPlayback();
- BOOL SupportsStereo();
- LPTSTR GetDriverName();
- float GetDriverVersion();
- };
-